/*
 * @Description: 
 * @Author: Aroma
 * @Date: 2024-09-19 19:57:27
 * @LastEditors: Aroma
 * @LastEditTime: 2024-09-19 19:57:47
 * @别瞎看: 你个无脑牛马
 */
public class TestZuChe{
    public static void main(String[] args) {
        // 创建卡车和巴士对象，并计算租金
        Truck truck = new Truck("Ford", "A12345", "中型");
        System.out.println("Truck Brand: " + truck.getBrand() + ", Plate Number: " + truck.getPlateNumber() + ", Rent: " + truck.getRent());

        Bus bus = new Bus("Mercedes", "B67890", 20);
        System.out.println("Bus Brand: " + bus.getBrand() + ", Plate Number: " + bus.getPlateNumber() + ", Rent: " + bus.getRent());
    }
}